.tabbar-test {
  padding: 20px;
  min-height: 100vh;
  background-color: #f5f5f5;
  padding-bottom: 120px; // 为TabBar留出空间
}

.info-section {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);

  .title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 16px;
    display: block;
  }

  .info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;

    &:last-child {
      border-bottom: none;
      margin-bottom: 0;
    }

    .label {
      color: #666;
      font-size: 14px;
    }

    .value {
      font-weight: 500;
      font-size: 14px;
      
      &.show {
        color: #4f46e5;
      }
      
      &.hide {
        color: #ef4444;
      }
    }
  }
}

.test-section {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);

  .section-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
    display: block;
  }

  .button-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .test-button {
    background-color: #4f46e5;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;

    &:hover {
      background-color: #3730a3;
    }

    &:active {
      background-color: #312e81;
    }
  }
}

.debug-section {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);

  .section-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
    display: block;
  }

  .debug-text {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 8px;
    display: block;

    &:last-child {
      margin-bottom: 0;
    }
  }
}

// 响应式设计
@media (max-width: 768px) {
  .tabbar-test {
    padding: 16px;
    padding-bottom: 120px;
  }

  .info-section,
  .test-section,
  .debug-section {
    padding: 16px;
    margin-bottom: 16px;
  }

  .info-section .title {
    font-size: 16px;
  }
}
